a = ['a', 'b', 'c', 'd', 'e', 'f']
b = [1, 2, 3, 4, 5, 6]
c = dict(zip(a, b))
print(c)

d={'a':1, 2:2, 'r':3, 4:4, 5:5, 6:'a'}
print(d)
e=dict(age=10,name='wuzubei',job='programmer')
print(e)

print(str(e['age']))
print(e.get('job'))
print(str(e.get('age111','备胎')))#如果get不到键，则用下一个值当备胎

gg=e.popitem()
print(gg)